<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>指纹管理</title>
		<meta name="viewport"
			content="width=device-width,height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="renderer" content="webkit" />
		<meta name="aplus-xplug" content="NONE">
		<link rel="stylesheet" type="text/css" href="/static/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="/static/iconfont/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="/static/layui/css/modules/admin/default/admin.css" />
		<link rel="stylesheet" type="text/css" href="/static/css/new_layui.css" />
		<link rel="stylesheet" type="text/css" href="/static/css/default.css" />
		<script type="text/javascript" charset="utf-8" src="/static/layui/layui.js"></script>
		<script type="text/javascript" charset="utf-8" src="/static/js/index.js"></script>
		<style>
			.layui-input-block {
				margin-left: 40px;
				min-height: 26px;
				margin-top: 20px;
			}

			.layui-form-checkbox[lay-skin=primary] {
				min-height: 26px;
			}

			.son_check {
				margin-left: 70px;
			}
		</style>
	</head>

	<body class="default">
		<div style="margin: 30px 20px;">
			<form class="layui-form" lay-filter="tpl_fingerprint" action="{:url('staff/saveFingerprint')}">
				<div class="layui-form-item">
					<label class="layui-form-label">请输入指纹</label>
					<div class="layui-input-inline">
						<input type="hidden" name="member_id" value="{$staff_id}" />
						<input type="text" name="fingerprint" lay-verify="required" placeholder="请输入指纹"
							autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button type="button" class="layui-btn layui-btn-normal" lay-submit
							lay-filter="submit_fingerprint">添加指纹</button>
					</div>
				</div>
			</form>
		</div>
		<div style="margin: 30px 20px;">
			<ul>
				{volist name="get_finger" id="list"}
				<li style="line-height:32px;border-bottom:1px solid #f0f0f0">
					<button type="button" data-id="{$list.id}" style="margin-right:30px"
						class="layui-btn layui-btn-xs layui-btn-danger del-finger"><i class="layui-icon"></i>
						删除</button>
					<span style="font-size:16px">{$list.fingerprint}</span>
					
				</li>
				{/volist}
			</ul>
		</div>

		<script>
			var del_src = "{:url('staff/delFingerprint')}";
		</script>
		<script src="/static/js/staff/fingerprint.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>